projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83420b8
)
(x_get_glyph_overhangs): Fix calculation of right
author
Kenichi Handa
<handa@m17n.org>
Thu, 11 Jun 2009 02:34:05 +0000
(
02:34
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 11 Jun 2009 02:34:05 +0000
(
02:34
+0000)
overhang for the static composition case.
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index eff922e742263312ff76d43ae0f663bb4e0460dc..8d94bfb9db239abae81899cd16001f1ff06bdc45 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-19913,7
+19913,7
@@
x_get_glyph_overhangs (glyph, f, left, right)
{
struct composition *cmp = composition_table[glyph->u.cmp.id];
- if (cmp->rbearing
-
cmp->pixel_width)
+ if (cmp->rbearing
>
cmp->pixel_width)
*right = cmp->rbearing - cmp->pixel_width;
if (cmp->lbearing < 0);
*left = - cmp->lbearing;